Platform Explorer / Nuxeo Platform 2021

Component org.nuxeo.ecm.platform.picture.operation

Documentation

Define the default operations for the imaging library

Resolution Order

362
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.picture.operation">
  <documentation>
    Define the default operations for the imaging library
  </documentation>

  <extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="operations">

    <operation class="org.nuxeo.ecm.platform.picture.operation.PictureResize" />

    <operation class="org.nuxeo.ecm.platform.picture.operation.CreatePicture" />

    <operation class="org.nuxeo.ecm.platform.picture.operation.GetPictureView" />

    <operation class="org.nuxeo.ecm.platform.picture.operation.RecomputePictureViews" />

  </extension>

  <extension target="org.nuxeo.ecm.automation.server.AutomationServer" point="bindings">

    <binding name="Picture.RecomputeViews">
      <administrator>true</administrator>
    </binding>

  </extension>

  <extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">

    <chain id="Image.Blob.Resize">
      <operation id="Blob.RunConverter">
        <param name="converter" type="string">pictureResize</param>
      </operation>
    </chain>

    <chain id="Image.Blob.ConvertToPDF">
      <operation id="Context.PopBlob" />
      <operation id="Blob.RunConverter">
        <param name="converter" type="string">pictureConvertToPDF</param>
      </operation>
    </chain>

  </extension>
</component>